<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传材质 - Lanchen</title>
</head>
<body>
    <p>上传材质</p>
    <form method="post" action="{% url 'main:upload' %}" enctype="multipart/form-data">
        {% csrf_token %}
        <p>名字：<input type="text" name="name" maxlength="100"></p>
        <p>
            <input type="file" name="picture" accept="image/png">
        </p>
        <button type="submit">确认上传</button>
    </form>
</body>
</html>